

#import <UIKit/UIKit.h>

typedef enum {
	COUNT_PICKER_COMPONENT_DAY = 0,
	COUNT_PICKER_COMPONENT_HOUR,
	COUNT_PICKER_COMPONENT_MINUTE,
    COUNT_PICKER_COMPONENT_COUNT
} COUNT_PICKER_COMPONENT;

@protocol CountDownPickerDelegate <NSObject>

- (BOOL)timeSelected:(NSInteger)minutes;

@end

@interface CountDownPicker : UIView<UIPickerViewDelegate, UIPickerViewDataSource>
{
	UIToolbar *toolbar;
	UIActionSheet *actionSheet;
	UIPickerView *picker;
}

@property (assign, nonatomic) id<CountDownPickerDelegate> delegate;

- (void)show;
- (void)showWithTime:(NSInteger)minutes;

@end
